﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using ALS.Component.Tools.AsyncTcp;
using ALS.IRepository;

namespace ALS.Communication.Domain.Adapters
{
    /// <summary>
    /// 吐货嘴状态适配器
    /// </summary>
    public class ShippingPortStatusAdapter : IAdapter
    {
        /// <summary>
        /// 控制板仓储
        /// </summary>
        [Import(typeof(IDashboardRepository))]
        protected IDashboardRepository dashboardRepository { get; set; }

        public void Process(IEnumerable<byte> datagram, AsyncTcpServer asyncTcpServer, TcpClient tcpClient)
        {
            var dashBoardPocos = dashboardRepository.Entities.ToList();
            dashBoardPocos.ForEach(d => { });
        }
    }
}
